import 'package:json_annotation/json_annotation.dart';

part 'work_scene.g.dart';

///场景
@JsonSerializable()
class WorkScene {
  String? name;
  bool? checked = false;
  bool? disabled = false;
  String? id;

  WorkScene({
    this.name,
    this.checked,
    this.disabled,
    this.id,
  });

  factory WorkScene.fromJson(Map<String, dynamic> json) => _$WorkSceneFromJson(json);

  Map<String, dynamic> toJson() => _$WorkSceneToJson(this);
}
